package com.tools.ad.adscene.outer;

import android.os.Message;

import com.hm.base.android.mob.AMApplication;
import com.tools.ad.AdType;
import com.tools.ad.EntranceType;
import com.tools.ad.R;
import com.tools.ad.adscene.inner.CommonScene;

/**
 * desc: 应用安装或卸载广告管理
 * date: 2018/4/18
 * author: ancun
 */

public class AppScene extends CommonScene {

    public AppScene(AMApplication context, EntranceType entranceType) {
        super(context, entranceType);
    }

    @Override
    protected void onADLoaded(AdType adType) {
        final Message message = Message.obtain();
//        message.arg2 = adType;
        message.obj = mEntranceType.getName();
        message.what = R.id.msg_ad_app_scene_loaded;
        imContext.handleMobMessage(message);
    }
}
